// 中隔线对应flex表
export const cellWidthFlex = (value) => {
    switch (Math.ceil(value)) {
        // 0-10
        case 0: value = 0; break;
        case 1: value = 0.010101; break;
        case 2: value = 0.0204082; break;
        case 3: value = 0.0309278; break;
        case 4: value = 0.0416667; break;
        case 5: value = 0.0526316; break;
        case 6: value = 0.0638298; break;
        case 7: value = 0.0752688; break;
        case 8: value = 0.0869565; break;
        case 9: value = 0.0989011; break;
        case 10: value = 0.111111; break;
        //11-20
        case 11: value = 0.123596; break;
        case 12: value = 0.136364; break;
        case 13: value = 0.149425; break;
        case 14: value = 0.162791; break;
        case 15: value = 0.176471; break;
        case 16: value = 0.190476; break;
        case 17: value = 0.204819; break;
        case 18: value = 0.219512; break;
        case 19: value = 0.234568; break;
        case 20: value = 0.25; break;
        // 21-30
        case 21: value = 0.265823; break;
        case 22: value = 0.282051; break;
        case 23: value = 0.298701; break;
        case 24: value = 0.315789; break;
        case 25: value = 0.333333; break;
        case 26: value = 0.351351; break;
        case 27: value = 0.369863; break;
        case 28: value = 0.388889; break;
        case 29: value = 0.408451; break;
        case 30: value = 0.428571; break;
        //31-40
        case 31: value = 0.449275; break;
        case 32: value = 0.470588; break;
        case 33: value = 0.492537; break;
        case 34: value = 0.515152; break;
        case 35: value = 0.538462; break;
        case 36: value = 0.5625; break;
        case 37: value = 0.587302; break;
        case 38: value = 0.612903; break;
        case 39: value = 0.639344; break;
        case 40: value = 0.666667; break;
        // 41-50
        case 41: value = 0.694915; break;
        case 42: value = 0.724138; break;
        case 43: value = 0.754386; break;
        case 44: value = 0.785714; break;
        case 45: value = 0.818182; break;
        case 46: value = 0.851852; break;
        case 47: value = 0.886792; break;
        case 48: value = 0.923077; break;
        case 49: value = 0.960784; break;
        case 50: value = 1; break;
        //51-60
        case 51: value = 1.04082; break;
        case 52: value = 1.08333; break;
        case 53: value = 1.12766; break;
        case 54: value = 1.17391; break;
        case 55: value = 1.22222; break;
        case 56: value = 1.27273; break;
        case 57: value = 1.32558; break;
        case 58: value = 1.38095; break;
        case 59: value = 1.43902; break;
        case 60: value = 1.5; break;
        // 61-70
        case 61: value = 1.5641; break;
        case 62: value = 1.63158; break;
        case 63: value = 1.7027; break;
        case 64: value = 1.77778; break;
        case 65: value = 1.85714; break;
        case 66: value = 1.94118; break;
        case 67: value = 2.0303; break;
        case 68: value = 2.125; break;
        case 69: value = 2.22581; break;
        case 70: value = 2.33333; break;
        //71-80
        case 71: value = 2.44828; break;
        case 72: value = 2.57143; break;
        case 73: value = 2.7037; break;
        case 74: value = 2.84615; break;
        case 75: value = 3; break;
        case 76: value = 3.16667; break;
        case 77: value = 3.34783; break;
        case 78: value = 3.54545; break;
        case 79: value = 3.7619; break;
        case 80: value = 4; break;
        // 81-90
        case 81: value = 4.26316; break;
        case 82: value = 4.55556; break;
        case 83: value = 4.88235; break;
        case 84: value = 5.25; break;
        case 85: value = 5.66667; break;
        case 86: value = 6.14286; break;
        case 87: value = 6.69231; break;
        case 88: value = 7.33333; break;
        case 89: value = 8.09091; break;
        case 90: value = 9; break;
        //91-99
        case 91: value = 10.1111; break;
        case 92: value = 11.5; break;
        case 93: value = 13.2857; break;
        case 94: value = 15.6667; break;
        case 95: value = 19; break;
        case 96: value = 24; break;
        case 97: value = 32.3333; break;
        case 98: value = 49; break;
        case 99: value = 99; break;

        default: break;
    }
    return value
    // return value +  1 0%;
}
